package com.hdax.dm.mapstrucs;

import com.hdax.dm.dto.TimePlanDao;
import com.hdax.dm.entity.scheduler.DmScheduler;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class TimePlanDtoMapper {
    public abstract TimePlanDao toTarget(DmScheduler scheduler);

    public abstract List<TimePlanDao> toTargets(List<DmScheduler> schedulers);
}
